﻿using System;
using OA.DBUtility;

namespace OA.Model
{
    [MappingTable("PatentView")]
    public partial class PatentViewInfo : PatentInfo
    {

    }


    /// <summary>
    /// PatentInfo:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [MappingTable("Patent")]
    public partial class PatentInfo
    {
        public PatentInfo()
        { }
        #region Model
        private int _id;
        private int? _employeeid;
        private DateTime? _applytime;
        private string _patentname;
        private string _patenttype;
        private string _patentee;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("EmployeeId")]
        public int? EmployeeId
        {
            set { _employeeid = value; }
            get { return _employeeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ApplyTime")]
        public DateTime? ApplyTime
        {
            set { _applytime = value; }
            get { return _applytime; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PatentName")]
        public string PatentName
        {
            set { _patentname = value; }
            get { return _patentname; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PatentType")]
        public string PatentType
        {
            set { _patenttype = value; }
            get { return _patenttype; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("Patentee")]
        public string Patentee
        {
            set { _patentee = value; }
            get { return _patentee; }
        }
        #endregion Model

    }
}

